begintalkscript;

variables;

begintalknode 1;
	state = -1;
	nextstate = 1;
	question = "Hill Goblin";
	text1 = "This is a goblin.  Goblins are usually smelly, ugly and not particularly intelligent.  By the looks of things, this is no exception.";
	text2 = "He is chewing on his gritty, yellow fingernails as you approach, and he stares at you with awe in his eyes.";
	text3 = "_You...  You strongarm man's warrior, yes-yes?_";
	text5 = "The hill goblin is still here, cowering and groveling mindlessly as he was before..";
	action = INTRO;

begintalknode 2;
	state = 1;
	nextstate = 2;
	question = "Who is Strongarm Man?";
	text1 = "_Strongarm man is human chief, he have big sword that make us go splat._";
	text2 = "_He big strong and scary, but he make no attack on us yet.  He talk with me's chief one or two time._";

begintalknode 3;
	state = 2;
	nextstate = -1;
	question = "What do your chief and ours talk about?";
	text1 = "_Strongarm man and chief talk in chief's cave, me no make listen to their speaking._";
	text2 = "_Chief tell all us to get out of cave when make speaking with strongarm man, I don't want chief get angry at poor little me._";

begintalknode 4;
	state = 1;
	nextstate = 3;
	question = "Why are you down here?";
	text1 = "_Chief give me fancy key, he says that he got 'nother.  He says look for room  with two big, fancy, wooden boxes._";
	text2 = "_Me found boxes, but me's feetses hurt from walking through green things.  They's nasty, you should stay away._";
	text3 = "_Chief give me blue rock, says to me to put it in wooden box, and I does it._";

begintalknode 5;
	state = 3;
	nextstate = -1;
	question = "You know where the Aquos Gem is?";
	text1 = "_Me putses it in big box, if you's want it, takes it!  Me needs it not._";
	text2 = "He feebly points to the northernmost chest.";
	text3 = "_Chief does not even want it here long, Chief told me to come back with blue rock after few days or something._";
	text4 = "(Why would the Goblin Chief keep a prized treasure down here, but even moreso, why would he keep it down here for only a few days?)";

begintalknode 6;
	state = 1;
	nextstate = -1;
	question = "You wretched cur, die! (Attack)";
	text1 = "He is scared for his life, but he doesn't hesitate to defend it.  He reaches for his club and attacks.";
	action = END_TALK;
	code = 
		set_attitude(25,10);
	break;

begintalknode 7;
	state = 1;
	nextstate = 4;
	question = "Do you want to escape?";
	text1 = "_Me wants to get out, yes!  Get out, get out!_";
	text2 = "_Can you big strongarm man warrior get poor little me out, please?  Yes?_";

begintalknode 8;
	state = 4;
	nextstate = -1;
	question = "(Laugh at him.)";
	text1 = "The goblin frowns.  _You's strongarm man big warriors are mean!_";
	action = END_TALK;

begintalknode 9;
	state = 4;
	nextstate = -1;
	question = "Come with us, we'll help you escape.";
	text1 = "His eyes open up widely.  _Really?  You does that for me?  Thank you, big strongarm man warrior!_";
	text2 = "(The Hill Goblin has joined the party.)";
	action = END_TALK;
	code = 
		add_char_to_party(25);
	break;